import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/close_device_manger_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/close_device_manger_entity.g.dart';

/// 设备详情
@JsonSerializable()
class CloseDeviceMangerEntity {

	CloseDeviceMangerEntity();

	factory CloseDeviceMangerEntity.fromJson(Map<String, dynamic> json) => $CloseDeviceMangerEntityFromJson(json);
  /// 企业唯一编码
	String? companyCode = '';
  /// 创建人姓名
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
  /// 0:正常 1:已删除
	String? deleted = '';
  /// 设备名称
	String? deviceName = '';
  /// 设备唯一编号
	String? deviceNo = '';
  /// 设备品牌
	String? equipmentBrand = '';
  /// 设备分类 1:门禁 2:ip广播
	String? equipmentClassification = '';
  /// 设备型号
	String? equipmentModel = '';
  /// 设备位置
	String? equipmentPosition = '';
  /// 设备规格
	String? equipmentSpecifications = '';
  /// 0：正常 1：故障
	int? equipmentStatus = 0;
  /// 设备类型 1:人员闸机 2:车辆闸机 设备类型(字典表)
	String? equipmentType = '';
	String? id = '';
  /// 0：进 1：出 3：进/出
	int? inOrOut = 0;
  /// 纬度
	String? latitude = '';
  /// 经度
	String? longitude = '';
  /// 区域id
	String? regionId = '';
  /// 区域级别
  int? regionLevel = 0;
  /// 区域名称
  String? regionName = '';
  /// 供应商
	String? supplier = '';
  /// 联系电话
	String? telephone = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';
  /// 闸机是否验证车牌，1：开启验证 0：关闭验证 默认开启
	int? whetherToInspect = 0;

	Map<String, dynamic> toJson() => $CloseDeviceMangerEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
